This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Subject: Handling Rich Text Signature in Lotus Script
Feedback Type: Question
Product Area: Notes Client
Technical Area: Application Development
Platform: Windows
Release: 8.5.2
Reproducible: Not applicable
Hi,
I have a form on a custom database that we use for emailing from an external application.
Essentially in the external application you press a button, and the eventual result is a Lotus Notes email.
The database handles HTML and text signature's, but unfortunately, Notes 8.5.x has introduced a new Rich Text signature option..
Does anyone know how to handle this? I see it's 'Option 3' but I'm not sure how to insert it?
Some of the existing code is below:
Dim enable, sigoption, signature, filetype$
enable = profile.GetItemValue("EnableSignature")
' this is a checkbox in the Notes mail Preferences window.
If enable(0) = "1" Then
sigoption = profile.GetItemValue("SignatureOption")
signature = profile.GetItemValue("Signature")
source.Gotobottom
Select Case sigoption(0)
Case "1"
source.insertText {
} & signature(0)
Case "2"
signature from '" & filetype & "' file '" & signature(0) & "'"
filetype = Strrightback(signature(0), ".")
If Ucase(filetype) = "TXT" Then filetype = "ASCII"
source.insertText {
}
Call source.Import(filetype, signature(0))
End Select
source.goToField "Body" ' returns to the top of the email body.
End If
End If
Feedback number WEBB9G2K3B created by ~Evelyn Cisnither on 02/05/2014
Status: Open
Comments: